PowerSNMP for .NET
UpdatePingStatus(List<Device>,Int32,IPAddress,IPAddress) Method




A list of Devices to scan.
The amount of time (in milliseconds) each ping operation will be given to receive a response.
Local IPv4 address to bind to for ping. When null, all IPv4 devices' PingStatus will be set to InvalidInterface.
Local IPv6 address to bind to for ping. When null, all IPv6 devices' PingStatus will be set to InvalidInterface.
Updates Device.PingStatus for each Device in devices.
Syntax
Public Overloads Function UpdatePingStatus( _
   ByVal devices As List(Of Device), _
   ByVal timeout As Integer, _
   ByVal localIPv4 As IPAddress, _
   ByVal localIPv6 As IPAddress _
) As List(Of Device)
Dim instance As Devices
Dim devices As List(Of Device)
Dim timeout As Integer
Dim localIPv4 As IPAddress
Dim localIPv6 As IPAddress
Dim value As List(Of Device)
 
value = instance.UpdatePingStatus(devices, timeout, localIPv4, localIPv6)

Parameters

devices
A list of Devices to scan.
timeout
The amount of time (in milliseconds) each ping operation will be given to receive a response.
localIPv4
Local IPv4 address to bind to for ping. When null, all IPv4 devices' PingStatus will be set to InvalidInterface.
localIPv6
Local IPv6 address to bind to for ping. When null, all IPv6 devices' PingStatus will be set to InvalidInterface.

Return Value

The list of devices with updated Device.PingStatus.
Remarks

If Aborted before all devices are queried, the returned list will only be updated up to the most recent queried Device.

See Also

Reference

Devices Class
Devices Members
Overload List


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic